Skip to main content

All Questions

30votes
4answers
14kviews

Using #ifdef to switch between different types of behavior during development

Is it a good practice to use #ifdef during development to switch between different types of behavior? For example, I want to change the behavior of existing code, I have several ideas how to change ...
Yury Shkliaryk's user avatar

close